class redangerList(object):
    def __init__(self,id,name,message,timestamp):
        self.id = id
        self.name = name
        self.message = message
        self.timestamp = timestamp

    def to_dict(self):
        return{
            'id':self.id,
            'name':self.name,
            'message':self.message,
            'timestamp':self.timestamp
        }
